/**
 * ClassName 角色选择窗口
 */
Ext.define("core.jbpm.view.taskForm.AssigneesWindow", {
			extend : "Ext.window.Window",
			alias : "widget.assigneesWindow",
			id : "assigneesWindow",
			width : 500,
			height : 450,
			title : "委托用户选择",
			layout : "border",
			closable : true,
			closeAction:"destroy",
			modal : true,
		    initComponent : function() {
			//返回参数
			//var resObj=this.responseObj;
			//单选
			var multiSelect = this.multiSelect;
			 if (multiSelect==null || undefined==multiSelect) {
			     multiSelect = false;
			 }
			 
			 //按钮
			 var btnObj={
							xtype : "button",
							ref : "userChangeWin",
							iconCls : "table_add",
							text : "选择"
			     };
			var btnObj2={
							xtype : "button",
							ref : "userCoseWin",
							iconCls : "table_remove",
							text : "取消"
			     };	
			
			 //布局展示处理
				this.items=[{
						region : "center",
						xtype : "panel",
						ref:"userPanl",
						layout : "border",
						tbar:[btnObj,btnObj2],
						items : [{
									xtype : "assigneesGrid",
									region : 'center',
									layout:"fit",
									autoScroll:true
									}
							]
						
					}];
				this.callParent(arguments);
			}
		});